package com.shigen.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shigen.demo.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper extends BaseMapper<User> {

  @Select("select max(id) as maxid from user")
  public Integer getMaxUserid();
}
